﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace CarErp.Forms
{
	public partial class LoginForm : Form
	{
		public LoginForm()
		{
			InitializeComponent();
			button_Login.Click += (s, e) => OnLogin.Invoke(textBox_Name.Text, textBox_Password.Text);
		}

		public event Action<string, string> OnLogin;
	}
}
